Code for accept/reject. TODO: Hide buttons on reject