Fix reset of loading buttons