fix bug in app delegate when adding new events
fix map pins to work better on phone
same as previous, just fix syntax