- Started work with committing changes to database. Uses onPause()
overridable.