Changed: set correct default values for button titles if they are not given