added blink function, cleaned up ui

added blink function for alerts and notifications