Work with shake gesture in simulator

Also fixed some warnings about self being retained explicitly. Now implicitly instead ( clears warnings )

Hm, is this intended? It looks like it's always setting this.