added button to submit message
added function that converts old databases to the new format