Hooked wpdevtool_install_and_update to init instead of admin_init
because others plugins could try to activate the plugin without user
intervention. Also simplified the function code.