Added utils class and states for orientation, fixed some issues in HomeView