#5 updated to Appium java client 1.2.1. Some changes