Lewis Hamilton revealed a last-minute set-up change was the reason he struggled in the final part of qualifying in Singapore.