Changed action popover and added delegate method