Fix force close when you set the toggle

Signed-off-by: htchoi1995 <htchoi1995@gmail.com>