An edge case but fixes update so it can update 'type' more than once. Up...

...date will now remove any alert-* class instead of just this.settings.type