fix force close after aplly settings

Signed-off-by: Grarak <williye97@gmail.com>