def set_callback(cb):
    """
    Set callback function which is called when FS change is deteced.
    
    @param cb: Python callable object or function
    """
    global callback
    callback = cb
