MOB-1777 Edit pin types

Since you don't have any arguments to that method, how about you just pass editPointTypes instead of an anonymous callback? ;)