Removed warnings and changed UIContext with type inference on UISelection