Change active type from unsigned char to bool

Changes the types of two boolean attributes from unsigned char to bool.