condition decline and delete buttons on todos