Code

Fix clearing of the loading flag in the input select loop