Fixing "Press button to on/off" function for Spam thread