"It works for a while but the setting is lost after I awake my notebook from "standby mode""

There's your clue the drivers are buggy. It's not something you are doing but time to ask the makers of your laptop and mouse for a driver that doesn't have this bug.

Bob