Added generic Button and used QML object in the main.qml file