refactor reject buttons