Fixes registration button action regression bug