found a bug

user cannot type in directions and press button for directions,
currently only one or the other based on the code. trying to fix… :/