Implemented done button (front and backend).