Modify layout event activity