fixed "donotaskagainclosetotray" value being 2, instead of 0/1 boolean