add history into clock-pro and update activate_arc, activate_cart, page_check_references_arc, page_check_references_cart. Also fix several small issues