Touch and keyboard handlers realization