Updated Appsactivity.php