Did not reset the refresh preferences to null correctly in previous commit. Also restricted main screen to portrait only