Single gesture to go back

How to go back(with save) from action Cycle config screen and Configure conditions with single gesture?