Convert a button to a loader