changed preferences store place, added screen_on, added resource renaming