added backwards compatibility (min sdk7)

Signed-off-by: julia-altenbuchner <julia.altenbuchner.11@ucl.ac.uk>