Tag selection

Added functs for selection of tag by using the space char or clicking with mouse