Added Communication between panel and activity.

That took way too long