fixed issue with double listing recipes

and added a spot to check for browser back buttons