[BUG BASH] Selecting x instead of Ok doesn't refresh the indexes