added delegate. when frontviewcontroller is focused, delegate method will fire within completion block.