date to local date usage, change app icon, restore user after change orientation