fixed customActivity saving