saving of application info works, but needs data validation work. Also added error checking for database saving.