another little code refactoring work
Merge branch 'master' of https://github.com/filippo91/appPdS