fixed problem of pressing back button directly takes user back to main
activity when view a recipe from recipe list activity