Triggers for automatic fields in 'alternativas'
When an alternative is created a new row with the default values is
created in the preferences table
The communities that can be used in an alternative are preselected
by means of spatial sql queries to the database.

Also a dialog to handle this situation is created
Minor changes in ui