added reactive expressions for better efficiency
fixed plot output in gof
synced actionButtons with reactive expressions