fixed bug: onReady not trigger if camera settings are remember. added better example.