Merge "Refactored rotation code from nav bar fragment to its button"