fix set home screen getting stuck sometimes.