/**
  * Install actions such as installing pages when a button is clicked.
  */
 public static function install_actions()
 {
     if (!empty($_GET['do_update_wc_crm'])) {
         self::update();
         // Update complete
         WC_CRM_Admin_Notices::remove_notice('crm_update');
         // What's new redirect
         delete_transient('_wc_crm_activation_redirect');
         wp_redirect(admin_url('admin.php?page=' . WC_CRM_TOKEN . '-about&' . WC_CRM_TOKEN . '-updated=true'));
         exit;
     }
 }
    /**
     * Final step
     */
    public function wc_crm_setup_ready()
    {
        WC_CRM_Admin_Notices::remove_notice('crm_install');
        update_option('wc_crm_customers_loaded', 'yes');
        ?>

		<h1><?php 
        _e('WooCommerce CRM is Ready!', 'wc_crm');
        ?>
</h1>

		<div class="wc-setup-next-steps">
			<div class="wc-setup-next-steps-first">
				<h2><?php 
        _e('Next Steps', 'wc_crm');
        ?>
</h2>
				<ul>
					<li class="setup-product"><a class="button button-primary button-large" href="<?php 
        echo esc_url(admin_url('admin.php?page=' . WC_CRM_TOKEN));
        ?>
"><?php 
        _e('View your customers!', 'wc_crm');
        ?>
</a></li>
				</ul>
			</div>
			<div class="wc-setup-next-steps-last">
				<h2><?php 
        _e('Learn More', 'wc_crm');
        ?>
</h2>
				<ul>
					<li class="newsletter"><a href="http://eepurl.com/Ybb5j" target="_blank"><?php 
        _e('Subscribe to our newlsetter', 'wc_crm');
        ?>
</a></li>
					<li class="learn-more"><a href="http://actualityextensions.com/documentation/" target="_blank"><?php 
        _e('Read more about getting started', 'wc_crm');
        ?>
</a></li>
					<li class="shop-more"><a href="http://codecanyon.net/user/actualityextensions/portfolio/" target="_blank"><?php 
        _e('Explore our other powerful extensions', 'wc_crm');
        ?>
</a></li>
				</ul>
			</div>
		</div>
		<?php 
    }