Orientation Bug Fixing: UI fixing

This is for fixing UI related issues. Changing oreintation is not
causing anymore exception