Fix for af.ui.showBackButton = true

Resubmission of https://github.com/Philzen/appframework/commit/ec3b19ea6b39898a7824e852baedcdcdd208b94a with one correction