Added input and getting the tile when tapping the screen.