Changing status of deleted note to history instead of deleting