Fix "unexpected output" error while activating the plugin

This was caused by a static function which was not declared static. This
commit makes the static functions explicit.
Bump up version to v1.6.2 for release
Regenerate pot file for v1.6.2