Update ParamArray model for layer changes

- works only for simple changes of a layers from the QLineEdit.
- deletion and layer moving not working.

Signed-off-by: Marius Avram <marius.avram1309@gmail.com>