Added method to check is gamepad connected and writing status on rtbMain.