Subscribe/unsubsribe button works, code is rather ugly