Fixed constructor being called twice.
Merge branch 'master' of https://github.com/tinkie101/smartdoor