Set session variable when install clicked.