Remove a code duplication
Add set default button to own params to todo features
Implement own bool parameter