Fix Activity closing