Update FunctionActivity.java