Change Task type to be boolean