A Kirkcaldy band is set to get a tune out of a vacant Kirkcaldy building after councillors agreed to hand over the keys.