back button implementation and edit screen