fix retaining focus after activity creation