@staticmethod
def split_category(entry):
    """Split the entry category from the entry itself.

        Return a tuple (category, task).
        """
    if ': ' in entry:
        return tuple(entry.split(': ', 1))
    elif entry.endswith(':'):
        return entry.partition(':')[0], ''
    else:
        return None, entry
