fixed date problem and changed add btn to application