Sets the time of key.

def set_time(self, key_name, new_time):
        """Sets the time of key."""
        self.unbake()
        kf = self.dct[key_name]
        kf['time'] = new_time
        self.bake()