Wrote UI for saveing data