Work with shake gesture in simulator

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

@grp Nope, my bad. Thanks for catching it.