Update check for Devise alerts so that it fixes colour