MainActivity: extract initializeNavAndSearchButtonsAndPanes method