Moved actual snapshot taking from event handler into processSnapshot method