Work with shake gesture in simulator

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