Saving works now, see description

savings works if datatypes are entered rightly.
To do: message if user enters wrong data (depending on message type).
When reading coordinates from database, use: Select ST_AsText(location)
from message;