Detect when context's variable changes its value

@Steve-Mcl posted a function with context listeners here