Change Boolean OR operator in createStore method

Change bit OR operator in if condition for boolean OR operator.