Add performance control (fix settings crash)