Added color changing of application blocks depending on number in list