Ripple color for flat buttons

The code should work properly now.