approve and decline buttons function