Quick fix for null in RegisterActivity.