You can add Class for this, like:
Add thi in your CSS
.active{background-position:0 -46px !important;}
And in Jquery use it like
$(document).ready(function(){
$('.button').click(function(){
$(this).toggleClass('active');
});
});
Read Docs http://api.jquery.com/toggleClass/