- realisation of correct work "X" button
- fix inserting to db results from http service and add inserting from REST service
- minor changes