This button management must not be in this file (must be handled in the module itself no ?).