Set state to 'done'