fixed some formatting; fixed the bug of crashing when close the app, it was caused by mistakenly calling onDestroy in onBackPressed