Revert "nextButton et endButton en shared_ptr"

This reverts commit a8acf522089123eba2b87d6969e0a3065a23820e.
Start refactoring Application