Implemented the Picker

But it only works for MainPage... Need to make it more generic