Moving backButton Listener

to it's own class since it is used frequently. For better management.