Update voicex/main.py

put unregister check before register because otherwise it would never reach to register.