Changed logic.

Added colours for different types of notification