Finalize back button behavior