Remove unused $entryPoint from Preferences::tryFormSubmit