Refactoring main activity drawer code