added settings state

Signed-off-by: Lasconik <caillouxnicolas@gmail.com>