added done and cancel buttons to settings view