Fix location button action