Fixing file selector active state