LoadBar button functionality fixed