Back buttons now return to the previous page (from main will exit application)