Added flag icon instead of * and added activity creation on returning to fence