Update data for ESS main menu calculated in login.DEFAULT

I added to login.DEFAULT to calculations tab some variable $Q.appr which calculated in Script (ScriptLibrary)

This script calculate current quantity of approval records where current user are approver and it has status pending.

Now when user use ESS for approve, he can see amount to be approved, but after approve or denie some records (another words when quantity of records changed) my digit did not update.

How can i make update for it whitout relogin for user.