Change active type from unsigned char to bool