saves data after dismissing edit screens
connected text fields to delegates