ActifityTools.java first run bug fixed