fixed incremment error and add test dialogs to MainActivity