Fixed freeze when options get changed from bool to int