Rid of flashing background and Android back button exti