Added feature for toggling subscription and setting frequency