crash fixed on hitting back on detailed notes. added dealloc method