Redesigned Device Registration Dialog.
Email textfield changes are applied.
Added missing variable types.