Fixed problem with back button from preview