'Get the image for a particular mode.'

@classmethod
def image_for_mode(cls, mode):

    try:
        return cls.objects.get(mode=mode).icon
    except cls.DoesNotExist:
        return cls.objects.get(default=True).icon
