also save previous when no button is pressed