Implemented actionlisteners for numListener and operator listener