adding (working) checkbox change event