Add history buttons