3 by 3 layout and back button working