attached event to the back button
Merge branch 'master' of https://github.com/stuycs-softdev/proj1-6