add learning_mode_enabled

With this option you can enable/disable the learning mode