[BUGFIX] Only clear cache when "Clear configuration cache" is pressed