fix crash from merge request
fix crash for measurment picker view. But it still not showing correctly. Help!