changed usb callback flow

modified the callback flow as suggested by Miguel :)