fixing add button displaying when setting location bug