added onStateChangeSuccess for folders