fixed problem with add mala buttons freezing if the session terminated