added confirmation when clearing profile