Correctly show/hide the dashboard button upon profile change, not just window resize.