implemented the done button after adding steps