Scan sidebar: Fixed flashing of buttons