Added save function to edit sentence screen