Solved EXC_BAD_ACCESS with timer