Fully functional nav bar in android studio after conversion from AIDE. Fixed back button issues.