Set initial value for active.

It seems that 'active' should be set during definition as it is used in handler which is set up before possible assignments.
Merge pull request #5 from agafonovdmitry/canary

Set initial value for active.