Added new constructor for the boolean
Removed unused property in constructor
Checking the checkbox properly