Implemented some more functionality in the group activity and improved the functionality in the main activity.

Signed-off-by: Alexander Peev <peev.alexander@gmail.com>