partial changes

implemented OR operator and changed valid location from single tap to
long press option
implemente or operation