Button multiple initialization fix