Setting remove marker selection to a variable and passing it to the google maps click listener