Refactor init() method
Prevent key repeats