Removed unused code

The inner class BackButton wasn't used so it is now removed