extract save and cancel btns in edit activities