Fixed wrong function return type in settings.