add eventlistener to restore default cachesources