Apply the attribute changes after animating its values.
Fixes #554.
For Travis CI - switch CI build to use Android build environment.