Added button functionality with text field and date picker