Fixing several bugs on app Kmelia

bugs are : 4985 and 4986

Don't forget to check out corresponding PR on Silverpeas-Components...