Fixed the date bug and the photo back button bug