add preference to keep screen on