Fixed bug that only allowed one click to register.