refactor the code, use drawer navigation and ActionBar